home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Q-R / RPN Calculator.cpt / RPN Calculator / card_8792.txt < prev    next >
Text File  |  1988-09-16  |  1KB  |  23 lines

  1. -- card: 8792 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 4000
  4. -- background id: 2499
  5. -- name: Display
  6. ----- HyperTalk script -----
  7. on openCard
  8.   put "Display" into field "Title"
  9. end openCard
  10.  
  11.  
  12.  
  13. -- part contents for background part 1
  14. ----- text -----
  15. The [Fix] and [Sci] keys will display a dialog box and ask for the number of digits after the decimal place.  You can enter a value from 0 to 18.  The default is 4.  The fix setting always displays the number of decimal digits specified.  The sci setting will display up to the number of digits specified, but does not display trailing 0's.  Perhaps I will some day modify the sci setting so that it provides true scientific notation.
  16.  
  17. Note that the above keys only set the number of decimal places.  An integer can be quite long (up to ~54 digits?).  If a negative integer cannot fit in the register area, it will be split just after the "-" sign.  If the number is in the x register, you will only see the "-".  If it is in the y or higher register, the number will appear to be in two registers.  Other than this visual dis-orientation, everything seems to work normally when this occurs.
  18.  
  19. The decimal places specified by the [Fix] or [Sci] keys determines the accuracy of calculations.
  20.  
  21. -- part contents for background part 6
  22. ----- text -----
  23. Display